<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="utf-8" />
        <meta name="description" content="对网页的一段概括性描述"/>
        <meta name="keywords" content="关键字1,关键字2,关键字3..."/>
        <meta name="renderer" content="webkit">
        <title>Hiring-修改密码</title>
        <link rel="shortcut icon" href="<%=request.getContextPath()%>/static/common/images/favicon.ico"/>
        <link rel="stylesheet" href="<%=request.getContextPath()%>/static/common/vendor/bootstrap/css/bootstrap.min.css" />
	    <!--[if lt IE 9]>
	      <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
	      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
	    <![endif]-->
    </head>
    <body>
    	<div class="container">
    		<h1>修改密码</h1>
			<form class="form-horizontal" role="form" novalidate="novalidate" action="<%=request.getContextPath()%>/CommonServlet?command=updatePassword" method="POST">
			  <input type="hidden" name="accountType" value="${param.accountType }"/>
			  <input type="hidden" name="email" value="${param.email }"/>
			  <div class="form-group">
			    <label for="newPassword" class="col-sm-2 control-label">新密码:</label>
			    <div class="col-sm-10">
			      <input type="text" class="form-control" id="newPassword" name="newPassword">
			    </div>
			  </div>
			  <div class="form-group">
			    <div class="col-sm-offset-2 col-sm-10">
			      <button type="submit" class="btn btn-default">修改</button>
			    </div>
			  </div>
			</form>
    	</div>
		<script src="<%=request.getContextPath()%>/static/common/vendor/jquery.min.js"></script>
		<script src="<%=request.getContextPath()%>/static/common/vendor/bootstrap/js/bootstrap.min.js"></script>
		<script src="<%=request.getContextPath()%>/static/common/vendor/layer/layer.js"></script>
		<script src="<%=request.getContextPath()%>/static/common/vendor/nice-validator-1.0.7/dist/jquery.validator.min.js?local=zh-CN"></script>
		<script>
			/**
			 * 更换验证码图片
			 */
			function changePic(obj) {
				obj.src='<%=request.getContextPath()%>/static/common/validate-code.jsp?time=' + new Date().getTime();
			}
		</script>
    </body>
</html>
